import request from '@/utils/request'
import qs from 'qs'

export function str_set(key, con) {
  return request({
    url: '/api/key/str/set',
    method: 'post',
    data: qs.stringify({
        key,con
    })
  })
}

export function str_get(key) {
  return request({
    url: '/api/key/str/get',
    method: 'post',
    data: qs.stringify({
        key
    })
  })
}